import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import BreadCrumb from "@/components/zhuomeng/BreadCrumb";
//导入富文本编辑框
import VueQuillEditor from "vue-quill-editor";
// import "quill/dist/quill.snow.css";
// 1.引入封装好的获取路由信息的函数
import { showRouter } from "@/utils/showRouter.js";
// 2.将函数设置成一个全局函数，每个组件都可以使用
Vue.prototype.showRouter = showRouter;
Vue.config.productionTip = false;
Vue.use(ElementUI);
Vue.component("BreadCrumb", BreadCrumb);
Vue.use(VueQuillEditor);
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");

